﻿@using Microsoft.AspNet.Identity
@model SpielMitMirFinalProject.ModelViews.GameTile
<a href="@Url.Action("Game", "Game", new { myId=@Model.myId, gameId=@Model.gameId})" class="elements">
    <div class="tile double" id=@Model.gameId>
        <div class="tile-content image">
            <img src=@Model.image>
        </div>
        <div class="brand">
            <span class="label fg-white">@Model.name</span>
            <span class="badge bg-black">@Model.message</span>
        </div>
    </div>
</a>